package com.pentakill.mo.essay.category.vo;

import java.util.Set;


public class CategoryModel {
	private Integer uuid;
	private String name;
	
	//对类别的多对一(暂时没用)
	//private Category puuid;
	//对应的父类别（多对一）
	private CategoryModel parent;
	//对应的子类别（一对多）
	private Set<CategoryModel> children;
	
	
	
	
	
	public Integer getUuid() {
		return uuid;
	}
	public void setUuid(Integer uuid) {
		this.uuid = uuid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public CategoryModel getParent() {
		return parent;
	}
	public void setParent(CategoryModel parent) {
		this.parent = parent;
	}
	public Set<CategoryModel> getChildren() {
		return children;
	}
	public void setChildren(Set<CategoryModel> children) {
		this.children = children;
	}
	
	
}
